package com.grapecc.springcloud;

import com.grapecc.myrule.MySelfRule;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;

/**
 * @author 卖糖的兜兜
 * @version 1.0.0
 * @ClassName Application.java
 * @Description TODO
 * @createTime 2022年02月04日 21:27:00
 */
@SpringBootApplication
@RibbonClient(name = "CLOUD-PAYMENT-SERVICE",configuration = MySelfRule.class)
public class OrderApplication {
    public static void main(String[] args) {
        SpringApplication.run(OrderApplication.class , args);
    }
}
